//
//  CLTool.h
//  CL1024
//
//  Created by liu nian on 13-1-30.
//  Copyright (c) 2013年 liunian. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CLTool : NSObject <UIAlertViewDelegate>

+(NSString *)getCLResponseString:(NSString *)url andCurrentView:(UIView *)view;
//+(NSString *)getCLResponseStringWithBlocks:(NSString *)url andCurrentView:(UIView *)view;
//网络状态检查
+ (BOOL)reachabilityCheck;

// 导航栏按钮
+ (UIButton *)getNavButton:(SEL)backAction ButtonTarget:(id)target backImage:(NSString *)backImageName iconImage:(NSString *)iconImageName;

//添加文章到instapaper
+ (BOOL)addPostToInstapaperWithTitle:(NSString *) title withUrl:(NSString *)url withUserName:(NSString *)username withPassword:(NSString *)password;

@end
